package com.study.zouchao.superproject.comtaskdetail.model;

import java.util.List;

/**
 * Created by Administrator on 2017/6/20.
 */

public class TaskDetailResult {
    private TaskDetailDataBean data;
    private String message;
    private int code;

    public TaskDetailResult(TaskDetailDataBean data, int code, String message) {
        this.data = data;
        this.code = code;
        this.message = message;
    }

    public TaskDetailDataBean getData() {
        return data;
    }

    public void setData(TaskDetailDataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "TaskDetailResult{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", code=" + code +
                '}';
    }

    public static class TaskDetailDataBean {
        private TaskDetailBean taskDetail;
        private List<EnrolledListBean> enrolledList;
        private int taskEnrolId;
        private int taskStatus;

        public TaskDetailDataBean(TaskDetailBean taskDetail, List<EnrolledListBean> enrolledList, int taskEnrolId, int taskStatus) {
            this.taskDetail = taskDetail;
            this.enrolledList = enrolledList;
            this.taskEnrolId = taskEnrolId;
            this.taskStatus = taskStatus;
        }

        public TaskDetailBean getTaskDetail() {
            return taskDetail;
        }

        public void setTaskDetail(TaskDetailBean taskDetail) {
            this.taskDetail = taskDetail;
        }

        public List<EnrolledListBean> getEnrolledList() {
            return enrolledList;
        }

        public void setEnrolledList(List<EnrolledListBean> enrolledList) {
            this.enrolledList = enrolledList;
        }

        public int getTaskEnrolId() {
            return taskEnrolId;
        }

        public void setTaskEnrolId(int taskEnrolId) {
            this.taskEnrolId = taskEnrolId;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        @Override
        public String toString() {
            return "TaskDetailDataBean{" +
                    "taskDetail=" + taskDetail +
                    ", enrolledList=" + enrolledList +
                    ", taskEnrolId=" + taskEnrolId +
                    ", taskStatus=" + taskStatus +
                    '}';
        }

        /**
         *
         */
        public static class TaskDetailBean {
            private int taskSponsorId;
            private String sponsorHeadimg;
            private String taskSponsorName;
            private String sponsorNickname;
            private int taskId;
            private String sponsorTime;
            private String reward;
            private String sponsorContact;
            private int rewardPrice;
            private String helpContent;
            private String sex;
            private String taskTimeArea;
            private String sponsorDesc;
            private String taskTitle;
            private int taskStatus;

            public TaskDetailBean(int taskSponsorId, String sponsorHeadimg, String sponsorNickname, int taskId, String sponsorTime, String reward, String sponsorContact, int rewardPrice, String helpContent, String sex, String taskTimeArea, String sponsorDesc) {
                this.taskSponsorId = taskSponsorId;
                this.sponsorHeadimg = sponsorHeadimg;
                this.sponsorNickname = sponsorNickname;
                this.taskId = taskId;
                this.sponsorTime = sponsorTime;
                this.reward = reward;
                this.sponsorContact = sponsorContact;
                this.rewardPrice = rewardPrice;
                this.helpContent = helpContent;
                this.sex = sex;
                this.taskTimeArea = taskTimeArea;
                this.sponsorDesc = sponsorDesc;
            }

            public String getTaskSponsorName() {
                return taskSponsorName;
            }

            public void setTaskSponsorName(String taskSponsorName) {
                this.taskSponsorName = taskSponsorName;
            }

            public int getTaskSponsorId() {
                return taskSponsorId;
            }

            public void setTaskSponsorId(int taskSponsorId) {
                this.taskSponsorId = taskSponsorId;
            }

            public String getSponsorHeadimg() {
                return sponsorHeadimg;
            }

            public void setSponsorHeadimg(String sponsorHeadimg) {
                this.sponsorHeadimg = sponsorHeadimg;
            }

            public String getSponsorNickname() {
                return sponsorNickname;
            }

            public void setSponsorNickname(String sponsorNickname) {
                this.sponsorNickname = sponsorNickname;
            }

            public int getTaskId() {
                return taskId;
            }

            public void setTaskId(int taskId) {
                this.taskId = taskId;
            }

            public String getSponsorTime() {
                return sponsorTime;
            }

            public void setSponsorTime(String sponsorTime) {
                this.sponsorTime = sponsorTime;
            }

            public String getReward() {
                return reward;
            }

            public void setReward(String reward) {
                this.reward = reward;
            }

            public String getSponsorContact() {
                return sponsorContact;
            }

            public void setSponsorContact(String sponsorContact) {
                this.sponsorContact = sponsorContact;
            }

            public int getRewardPrice() {
                return rewardPrice;
            }

            public void setRewardPrice(int rewardPrice) {
                this.rewardPrice = rewardPrice;
            }

            public String getHelpContent() {
                return helpContent;
            }

            public void setHelpContent(String helpContent) {
                this.helpContent = helpContent;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getTaskTimeArea() {
                return taskTimeArea;
            }

            public void setTaskTimeArea(String taskTimeArea) {
                this.taskTimeArea = taskTimeArea;
            }

            public String getSponsorDesc() {
                return sponsorDesc;
            }

            public void setSponsorDesc(String sponsorDesc) {
                this.sponsorDesc = sponsorDesc;
            }

            public int getTaskStatus() {
                return taskStatus;
            }

            public void setTaskStatus(int taskStatus) {
                this.taskStatus = taskStatus;
            }

            public String getTaskTitle() {
                return taskTitle;
            }

            public void setTaskTitle(String taskTitle) {
                this.taskTitle = taskTitle;
            }

            @Override
            public String toString() {
                return "TaskDetailBean{" +
                        "taskSponsorId=" + taskSponsorId +
                        ", sponsorHeadimg='" + sponsorHeadimg + '\'' +
                        ", taskSponsorName='" + taskSponsorName + '\'' +
                        ", sponsorNickname='" + sponsorNickname + '\'' +
                        ", taskId=" + taskId +
                        ", sponsorTime='" + sponsorTime + '\'' +
                        ", reward='" + reward + '\'' +
                        ", sponsorContact='" + sponsorContact + '\'' +
                        ", rewardPrice=" + rewardPrice +
                        ", helpContent='" + helpContent + '\'' +
                        ", sex='" + sex + '\'' +
                        ", taskTimeArea='" + taskTimeArea + '\'' +
                        ", sponsorDesc='" + sponsorDesc + '\'' +
                        ", taskTitle='" + taskTitle + '\'' +
                        ", taskStatus=" + taskStatus +
                        '}';
            }
        }


        public static class EnrolledListBean {
            private int taskEnrolUserId;
            private String enrollNickName;
            private String enrollHeadimg;

            public EnrolledListBean(int taskEnrolUserId, String enrollNickName, String enrollHeadimg) {
                this.taskEnrolUserId = taskEnrolUserId;
                this.enrollNickName = enrollNickName;
                this.enrollHeadimg = enrollHeadimg;
            }

            public int getTaskEnrolUserId() {
                return taskEnrolUserId;
            }

            public void setTaskEnrolUserId(int taskEnrolUserId) {
                this.taskEnrolUserId = taskEnrolUserId;
            }

            public String getEnrollNickName() {
                return enrollNickName;
            }

            public void setEnrollNickName(String enrollNickName) {
                this.enrollNickName = enrollNickName;
            }

            public String getEnrollHeadimg() {
                return enrollHeadimg;
            }

            public void setEnrollHeadimg(String enrollHeadimg) {
                this.enrollHeadimg = enrollHeadimg;
            }

            @Override
            public String toString() {
                return "EnrolledListBean{" +
                        "taskEnrolUserId=" + taskEnrolUserId +
                        ", enrollNickName='" + enrollNickName + '\'' +
                        ", enrollHeadimg='" + enrollHeadimg + '\'' +
                        '}';
            }
        }
    }
}
